package de.gruessing.gwtsports.server.services;

import de.gruessing.gwtsports.server.xmlparser.XMLParser;
import de.gruessing.gwtsports.server.xmlparser.tcxparser.TCXParserImpl;

public class XMLParserFactory
{
	public static final int TCXPARSER = 0;
	
	public static XMLParser getParser( int in_iParserID ) throws ServiceNotAvailableException
	{
		if( in_iParserID == 0 )
		{
			return new TCXParserImpl();
		}
		throw new ServiceNotAvailableException();
	}
}
